<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>测试文本输入</title>
<script src="/Test/js/jquery-1.7.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
	function sendValue() {
		window.location.href = "/Test/getTextInput.action?textValue="
				+ $("#inputText").val();
	}
	$(document).ready(function() {
		$("#testButton").click(sendValue);
	});
</script>
</head>
<body>
	<center>
		<form action="/Test/getTextInput.action" method="post">
			测试不输入任何东西时，text输入框的值。 <input type="text" id="inputText"
				name="textValue" />
		</form>
		<input type="button" id="testButton" value="click">
	</center>
</body>
</html>